package Java;

public class Function {
    public static void main(String[] args) {

        int x = max(5, 6);
        System.out.println(x);
    }

    public static int max(int x, int y) {
        int z;
        if (x > y) {
            z = x;
        } else {
            z = y;
        }
        return z;
    }
}
